package com.lx.javasunmmrize.proxy.staticProxy;

/**
 * @Description 测试静态代理
 * @Author lx
 * @Date 2021/2/26 23:19
 **/
public class StaticProxyTest {

    public static void main(String[] args) {

        TeacherDao teacherDao = new TeacherDao();

        TeacherDaoProxy teacherDaoProxy = new TeacherDaoProxy(teacherDao);
        teacherDaoProxy.teach();
    }
}
